<template>
  <div class="LoginPhone">
    <el-form>
      <el-form-item label="手机号">
        <el-input />
      </el-form-item>
      <el-form-item label="验证码">
        <div class="code-box">
          <el-input />
          <el-button type="primary" class="code-btn">获取验证码</el-button>
        </div>
      </el-form-item>
    </el-form>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  setup() {
    return {}
  }
})
</script>

<style scoped lang="less">
.LoginPhone {
  .code-box {
    display: flex;
  }
  .code-btn {
    margin-left: 10px;
  }
}
</style>
